﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Text;


namespace nadModel
{
    public abstract class Logger
    {
        private LogLevel logLevel = LogLevel.INFO;
        protected Logger()
        {
        }

        [MethodImpl(MethodImplOptions.Synchronized)]
        public abstract void Log(string msg);
        [MethodImpl(MethodImplOptions.Synchronized)]
        public abstract void Log(string msg, LogLevel logLevel);

        public LogLevel LogLevel
        {
            get
            {
                return this.logLevel;
            }
            set
            {
                this.logLevel = value;
            }
        }
    }
}
